<%--
  Created by IntelliJ IDEA.
  User: 编程大师凡哥
  Date: 2022-11-24
  Time: 14:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="${pageContext.request.contextPath}/">
    <title>修改新闻</title>
</head>
<body>
<form action="news/update" method="post">
    <p>标题:<input name="title" value="${news.title}"/></p>
    <p>内容:<input name="content" value="${news.content}"/></p>
    <p>时间:<input name="createTime" value="${news.createTime}"/></p>
    <input type="hidden" name="id" value="${news.id}">
    <button type="submit">修改</button>
</form>
</body>
</html>
